<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<link href="{TPL}css/NewTopFoot.css" rel="Stylesheet" type="text/css">
<link type="text/css" rel="stylesheet" href="{TPL}css/AddItemPanel.css">
<link type="text/css" id="styleName" rel="stylesheet" href="{TPL}css/blue/color.css"/ >
<link type="text/css" rel="stylesheet" href="{TPL}css/ShoppingRecords.css">
<link type="text/css" rel="stylesheet" href="{TPL}css/jquery.datepick.css"> 
    <script type="text/javascript" src="{TPL}js/jquery-1.4.1.min.js"></script>

    <script type="text/javascript" src="{TPL}js/jQuery.Extend.js"></script>

    <script src="{TPL}js/jQuery.Drag.min.js" type="text/javascript"></script>

    <script type="text/javascript" src="{TPL}js/jquery.cookies.2.1.0.min.js"></script>

    <script src="{TPL}js/Gobal.js" type="text/javascript"> </script>

    <script type="text/javascript" src="{TPL}js/wdggcGobal.js"></script>    

    <script type="text/javascript" src="{TPL}js/jquery.datepick.min.js"></script>

    <script type="text/javascript" src="{TPL}js/jquery.datepick-zh-CN.js"></script>


<title>{lang Record_of_refund} - {lang g_webname}</title></head><body>


 {template 'header'}
 
  <div class="admin">
        <div class="ding">
            <div class="shouye">
                <a href="{url_m.php}" title="{lang u_member_center}"></a>
            </div>
            <div class="lb">
              <div class="weizhi">
                      <b>{lang m_location}：</b><a href="{url_m.php}">{lang u_member_center}</a><span>&gt;</span>{lang m_draw_list}
                  </div>
                
                <div class="shezhi">
                    <p>
                        <a href="{url_m.php}">{lang u_member_center}</a><span>|</span>{lang m_set_style}：</p>                    <ul>
                        <li onClick="changeStyle('orange')" class="mypanliS1"></li>
                        <li onClick="changeStyle('grey')" class="mypanliS2"></li>
                        <li onClick="changeStyle('blue')" class="mypanliS3"></li>
                    </ul>
                </div>
            </div>
        </div>

{template 'member_left'}

    <div class="records marr_top">

{if empty($action)}
<div class="biao">
          <table>
                <tbody><tr>
                    <th width="84" class="w1">
                  {lang m_draw_apply}                    </th>
                    <th width="84" class="w2">
               {lang s_total}              </th>
                    <th  width="105" class="w3">
                  {lang m_recharge_time}                    </th>
                    <th width="133" class="w4">
                       {lang m_draw_apply_time}</th>
              <th width="85" class="w5">
                        {lang r_state}                  </th>
                <th width="218" class="w5">{lang s_note}</th>
                </tr>
            </tbody></table>
             
<table width="100%" border="0" cellspacing="0" cellpadding="0">
{loop $dataarray $r}
         <tr>
                 <td width="84">{lang s_price_ext}{$r['money']}</td>
                 <td width="84">{$r['uname']}</td>
                 <td width="105">{date('Y-m-d',$r['addtime'])}</td>
                 <td width="133">{date('Y-m-d',$r['addtime'])}</td>
                 <td width="85">{if $r['state']==1}{lang m_state_wait_pass}{else}{lang m_state_complete}{/if}</td>
                 <td width="218">{$r['remark']}</td>
         </tr>
{/loop}
</table>
      </div>
	  
{else}
<div class="biao">
<div style=" text-align:center; padding:10px"><h2>{lang m_apply_draw}</h2></div>
    <form id="aspnetForm" action="m.php?name=refundrecord&action=refund&rid={$rid}" method="post" name="Form">
          <table>
            <tr>
              <td > {lang r_recharge_amount} </td>
              <td widtd="225" align="left" style="text-align:left">&nbsp;<font color="red">{$row['money']}￥</font></td>
            </tr>
            <tr>
              <td > {lang m_recharge_time} </td>
              <td align="left" style="text-align:left" >&nbsp;{date('Y-m-d',$row['addtime'])}</td>
            </tr>
            <tr>
              <td > {lang m_draw_apply_total} </td>
              <td align="left" style="text-align:left"><input name="money" type="text" id="money" />
                {lang s_price_ext}</td>
            </tr>
               <tr>
                   <td>{lang s_note}</td>
                  <td align="left" style="text-align:left" ><textarea name="remark" cols="50" rows="5" id="remark"></textarea></td>
            </tr>
           </table>
		   <div style=" text-align:center"><input type="submit" value="{lang m_post_apply}" />
		   </div>
		   </form>
</div>
{/if}

	  
	  
	  
    </div>

        <div class="yj">
        </div>
    </div>

    
{template 'footer'}

    </form>
</body>
</html>